package com.socialuni.sdk.factory.user.base;

import com.socialuni.sdk.api.model.RO.user.base.SocialUserRO;
import com.socialuni.sdk.model.DO.user.UserDO;

public class SocialUserROFactory {

    public static SocialUserRO newUserRO(UserDO userDO) {
        //user基础信息
        SocialUserRO user = new SocialUserRO(SocialUserNoIdROFactory.newUserNoIdRO(userDO));
        user.setId(userDO.getId().toString());
        return user;
    }

}
